#ifndef __SPI3_H__
#define __SPI3_H__

#include "SPI_config.h"

#if USE_SPI_3

void SPI3_init();

#if SPI3_MOSI_ENABLE
void SPI3_write(uint8_t data);
#endif

#if SPI3_MISO_ENABLE
uint8_t SPI3_read();
#endif

#endif
#endif